package com.ty.day1;

/**
 * Created by IntelliJ IDEA.
 *
 * @author : txy
 * @create : 2023/11/14 14:36
 */
public class Car {
    String brand;
    String color;
    int seat;
    public void travel(){
        System.out.println("尊贵的"+brand+"车主");
    }
    public void fly(){
        System.out.println("我是车，我会飞");
    }
    public void recreation(){
        System.out.println("娱乐项目唱歌");
    }
}
